//
//  NSString+FirstChar.m
//  AddressBook8.24
//
//  Created by lanou3g on 15/8/24.
//  Copyright (c) 2015年 Una. All rights reserved.
//

#import "NSString+FirstChar.h"

@implementation NSString (FirstChar)
+(NSString *)getFirstCharOfString:(NSString *)string
{
    //拿到首字母
    NSString * result = [string substringToIndex:1];
    //大写
    result = [result uppercaseString];
    return result;
}
@end
